<template>
  <div class="example">
    <router-view></router-view>
  </div>
</template>

<script>
/* eslint-disable */
import { showNotify } from "vant";
const axios = require("axios");
import Cookies from "js-cookie";

export default {
  data() {
    return {
      form: {
        username: "",
        password: "",
      },
    };
  },
  created() {
    chrome.runtime.onMessage.addListener(function (
      message,
      sender,
      sendResponse
    ) {
      console.log("Message from background script:", message);
      // 这里可以对收到的消息进行处理
    });
  },
};
</script>

<style>
.example {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 16px;
  font-size: 24px;
  font-weight: 700;
}
.van-checkbox__icon.van-checkbox__icon--round.van-checkbox__icon--checked
  + .van-cell--clickable {
  background-color: grey;
}
</style>
